package com.emaimed.search.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Fafa Tuo
 * @version 1.0
 * @date 2021/6/23 22:14
 */

@Controller
public class UserController {

    @RequestMapping(value = "/index")
    @ResponseBody
    public String index() {
        return "hello world";
    }

    @RequestMapping(value = "/index2")
    @ResponseBody
    public String index2() {

        return "iodifaosd";
    }
}
